<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台首页</title>
    <link rel="stylesheet" href="/static/admin/css/style.css">
</head>
<body>

<div class="content">
    <div class="wrap cl">

        <!--导航栏-->
        {(admin/nav.html)}
        <!--导航栏-->
        <!--列表样式2-->

        <div class="details">
            <h3 class="details-title border-b">栏目管理</h3>
            <div class="buildTab">
                <ul>
                    <li class="hover"><p>栏目列表</p></li>
                </ul>
            </div>
            <!-- 账单列表begin -->
            <div class="buildCon" id="con-detail-1">
                <div class="buildBox br-none">

                    <dl class="detail-alerm cl br">
                        <dd><a class="inquire ml6" href="/admin/cate_add">添加</a></dd>
                    </dl>

                    <div class="alermBox mb10" style="border-left:0;">
                        <table class="alermTable cool">
                            <colgroup>
                                <col width="5%">
                                <col width="35%">
                                <col width="10%">
                                <col width="20%">
                            </colgroup>
                            <thead>
                            <tr class="bg" style="background-color: rgb(235, 241, 245);">
                                <th>序号</th>
                                <th>栏目名称</th>
                                <th>路径</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {% for k, v in pairs(list) do %}
                                <tr>
                                    <td>{{v.cateId}}</td>
                                    <td>{{v.cateName}}</td>
                                    <td>{{v.catePath}}</td>
                                    <td>
                                        <a href="/admin/cate_edit?id={{v.cateId}}" class="normal">修改</a>
                                    </td>
                                </tr>
                            {% end %}
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- 分页begin -->
                <!-- 分页begin -->
                <div class="pages">
                    {% for k, v in pairs(page_list) do %}
                    {% if v.isCurrent then %}
                    <a href="{{v.path}}" class="page-item current">{{v.label}}</a>
                    {% else %}
                    <a href="{{v.path}}" class="page-item">{{v.label}}</a>
                    {% end %}
                    {% end %}
                </div>
                <!-- 分页end -->
                <!-- 分页end -->
            </div>

            <!-- 账单列表end -->
        </div>
        <!--列表样式2-->

    </div>
</div>


</body>
</html>